-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Bump Snaps dependencies #30396
Conversation
New and updated dependencies detected. Learn more about Socket for GitHub ↗︎
|
Builds ready [47507a7]
Page Load Metrics (1772 ± 90 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [58bf239]
Page Load Metrics (1843 ± 91 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
f57a80a
to
3848e27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and policy changes look good to me. Haven't tested the changes yet.
Builds ready [3848e27]
Page Load Metrics (1847 ± 69 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error when trying to get preferences
335b185
to
e7552d8
Compare
Builds ready [e7552d8]
Page Load Metrics (1786 ± 116 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
## **Description** Updated the `getPreferences` method with additional preferences that protocol snaps will need. ## **Related issues** Fixes: MetaMask/snaps#3076 ## **Manual testing steps** 1. Build off of this branch. 2. Clone https://github.com/hmalik88/swiss-knife-snap and run `yarn start`. 3. Click the get preferences button and observe in the console the object with the newly added properties. ## **Screenshots/Recordings** ### **After** https://github.com/user-attachments/assets/d12d6dd6-cbbe-4b08-a966-59c91abe00d1 ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
## **Description** This PR adds the `crossAlignment` prop to the Snap UI `Box` component. It generates a `align-items` property. [](https://codespaces.new/MetaMask/metamask-extension/pull/30400?quickstart=1) ## **Related issues** Fixes: #30368 ## **Manual testing steps** ## **Screenshots/Recordings** ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
e7552d8
to
96a31be
Compare
@metamaskbot update-policies |
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
@@ -2010,6 +2010,41 @@ | |||
"@metamask/snaps-utils>validate-npm-package-name": true | |||
} | |||
}, | |||
"@metamask/multichain-transactions-controller>@metamask/snaps-utils": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update @metamask/snaps-utils
in MetaMask/core
so we can dedupe this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely
Builds ready [3a5148c]
Page Load Metrics (1744 ± 69 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Bump Snaps packages and handle any required changes.
Summary of Snaps changes:
snap_getPreferences
crossAlignment
toBox
Related issues
Fixes: #30368